import {
	MyRequest
} from '@/util/api.js'

//查询单个的首页医生
export const GetOneDocter = (id) => MyRequest({
	url: `/wx/dockers/getOne/${id}`,
	method: 'get',
})
//首页查询所有的医生
export const GetAllDocter = (current, keyword, size) => MyRequest({
	url: '/wx/dockers/list',
	method: 'post',
	data: {
		current: current,
		keyword: keyword,
		size: size
	}
})

//进行分类的数据字典
export const CategoryData = () => MyRequest({
	url: '/WxData/category',
	method: 'get',
})
//得到朋辈互助
export const GetFriendInfo = () => MyRequest({
	url: '/wx/tbPeerAssistance/list',
	method: 'get'
})
